Curves on higher dimensional spaces